
<!-- <div class="row content no-data-div" ng-if="orgs.length == 0">
    <div class="row col-md-12">
        <div class="col-md-6 col-md-offset-3" style="text-align:center">
            <div>
            You don't belong to any organization, please click button below to create your first one.
            </div>
            <br/>
            <button type="button" class="btn btn-success new-btn" ng-click="showNewOrg()">
                <i class="fa fa-plus"></i>
                <span>Create Organization</span>
            </button>
        </div>
    </div>
</div> -->
<div class="row" ng-if="orgs.length > 0">
    <h3 class="page-title">
       Organization - <strong> List </strong> 
    </h3>
   <!--  <h3 class="page-title">Organization - <span class="fw-semi-bold">List</span></h3> -->
    <div class="col-lg-12">
        <section class="widget">
            <div class="widget-body">
                <legend>
                    <button type="button" class="btn btn-success btn-sm pull-left" ng-click="create()">
                        <i class="fa fa-plus"></i>
                        <span>Create</span>
                    </button>
                </legend>
                <div>
                    <table class="table table-striped">
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>Name</th>
                                <th>Description</th>
                                <th width="300px;">Action</th>
                            </tr>
                        </thead>
                        <tbody>
                        	<tr ng-repeat="org in orgs">
                                <td>{{org.id}}</td>
                                <td>{{org.name}}</td>
                                <td>{{org.desc}}</td>
                                <td>
                                    <button type="button" class="btn btn-info btn-sm td-viewer" ng-click="edit(org.id)">
	                                    <i class="fa fa-pencil"></i>
	                                    <span>Edit</span>
	                                </button>
                                	<button type="button" class="btn btn-info btn-sm td-viewer" ng-click="showTeams(org.id)">
	                                    <i class="fa fa-users"></i>
	                                    <span>View Teams</span>
	                                </button>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </section>
    </div>
</div>